WPForms\Integrations\Gutenberg\FormSelector A

Total Complexity 69
Dependencies 3
Dependents 1
Total lines 1,152
Lines of code 607
Logical lines of code 157
Comment lines 345
Methods 26
Properties 7

Methods 26

Method Rating Maintainability Complexity Lines of code
register_block()
A
33 1 147
get_localize_data()
A
29
1 142
register_styles()
S
51 7 27
output_css_vars()
S
54 6 20
get_content()
S
46 4 45
add_class_callback()
S
54 5 20
enqueue_block_editor_assets()
S
45 3 49
maybe_override_block_attributes()
S
61 5 11
get_form_html()
S
56 4 17
output_custom_css()
S
57 3 17
get_form_list()
S
57 3 16
disable_richtext_media()
S
69 4 6
is_gb_editor()
S
76 4 3
get_block_api_version()
S
69 3 6
replace_wpforms_frontend_container_class_filter()
S
63 3 10
disable_fields_in_gb_editor()
S
56 1 23
form_action_filter()
S
71 2 6
filter_is_honeypot_enabled()
S
72 2 6
enable_block_translations()
S
80 1 3
load()
S
67 1 7
protected_permissions_callback()
S
75 1 4
protected_data_callback()
S
75 1 4
register_api_route()
S
76 1 4
is_legacy_block()
S
78 1 3
hooks()
S
65 1 8
allow_load()
S
80 1 3